package com.gxuwz.restaurant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@TableName("applyinfo_table")
@Data
public class Applyinfo {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String applyname;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date date;
    private String state;

    @TableField(exist = false)
    private List<Applygoods> goodslist;


}
